POV-Ray : Newsgroups : povray.general : ATTN Gilles Tran: your Library includes crash POV : ATTN Gilles Tran: your Library includes crash POV Server Time
5 Aug 2024 12:19:56 EDT (-0400)
  ATTN Gilles Tran: your Library includes crash POV  
From: Timothy R  Cook
Date: 21 Sep 2002 16:57:16
Message: <3d8cdd2c@news.povray.org>
following causes a parse error: illegal escape sequence in string
with the default "fonts.txt" file...

// =========================================
// Initialises the font list
// -----------------------------------------
#declare nFonts=0;
#fopen fFonts "fonts.txt" read
#while (defined(fFonts))
         #read(fFonts,dummy)      // <-- this line while parsing gives
                      // #read(tFonts,dummy"C:\windows\fonts\times.ttf"
                      // parse error: illegal escape sequence in string
         #declare nFonts=nFonts+1;
#end
#fclose fFonts
#declare bookFonts=array[nFonts]
#declare i=0;
#fopen fFonts "fonts.txt" read
#while (defined(fFonts))
         #read(fFonts,dummy)
         #declare bookFonts[i]=dummy
         #declare i=i+1;
#end
#fclose fFonts

-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.